﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NHibernateDemo.DAL.Test.ServiceReference1;

namespace NHibernateDemo.DAL.Test {
    [TestClass]
    public class PHPWebServiceTest {
        [TestMethod]
        public void TestMethod1( ) {
            var service = new ManagerService2SoapClient("ManagerService2Soap");
            var res = service.SearchManager("William H. Gross", "", "", "", "", 1, 10);
            Assert.AreEqual(1,res.Items.Length);
        }
    }
}
